<div class="alert alert-danger" th:unless="${error == null}"
	th:text="${messages.getMessage(error)}"></div>
<form th:action="${urls.currentUrl + '/unlock'}" method="post">
	<div class="form-group">
		<label for="password">密码</label> <input type="password"
			class="form-control" name="password" placeholder="密码">
	</div>
	<div class="form-group">
		<label for="captcha">验证码</label>
		<div style="margin-bottom: 10px">
			<img th:src="${urls.url}+'/captcha'" class="img-responsive"
				id="validateImg" />
		</div>
		<input type="text" class="form-control" name="validateCode"
			placeholder="验证码">
	</div>
	<input type="hidden" name="lockId" th:value="${lockId}"
		th:if="${lockId != null}" /> <input type="hidden"
		th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />
	<button type="submit" class="btn btn-default">确定</button>
</form>